﻿using MySql.Data.MySqlClient;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace library
{
    class DBclass
    {
        public MySqlConnection getConn()
        {
            string strCon = "server=10.20.62.38;port=3306;user=root;password=123456; database=lib;";
            MySqlConnection conn = new MySqlConnection(strCon);
            return conn;
        }               
    }
}
